package com.mindskip.xzs.viewmodel.admin.question;


import lombok.Data;

import javax.validation.Valid;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.util.List;

@Data
public class QuestionEditRequestVM {

    private Integer id;
    @NotNull(message = "题目类型不能为空")
    private Integer questionType;
   // @NotBlank(message = "题目分类不能为空")
    private String category;
    @NotBlank(message = "题干不能为空")
    private String title;

    @Valid
    private List<QuestionEditItemVM> items;

    private String analyze;

    private List<String> correctArray;

    private String correct;
   // @NotBlank(message = "分数不能为空")
    private String score;

    private Integer difficult;

    private Integer itemOrder;
}
